package com.haiyan.demo.problem03;

public class Cat extends Animal {

    public Cat() {
    }

    public Cat(String name, String sex, int age, String color) {
        super(name, sex, age, color);
    }

    @Override
    public void eat() {
        System.out.println("猫吃鱼");
    }

    @Override
    public void sleep() {
        System.out.println("猫睡觉");
    }

    @Override
    public void call() {
        System.out.println("猫叫喵喵");
    }
}
